package com.xishu.entity.customer;


import com.xishu.entity.AbstractEntity;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Entity;
import javax.persistence.Index;
import javax.persistence.Table;

/**
 * 发送历史
 */
@Entity(name = "send_history")
@Table(indexes = {@Index(columnList = "createTime, companyId")})
public class SendHistory extends AbstractEntity {
    @ApiModelProperty(value = "公司ID")
    private Long companyId;

    @ApiModelProperty(value = "邮件")
    private Boolean email;

    @ApiModelProperty(value = "短信")
    private Boolean sms;

    @ApiModelProperty(value = "是否是计划类的")
    private Boolean plan;

    @ApiModelProperty(value = "发送的数量")
    private Integer sendNumber;

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public Boolean getEmail() {
        return email;
    }

    public void setEmail(Boolean email) {
        this.email = email;
    }

    public Boolean getSms() {
        return sms;
    }

    public void setSms(Boolean sms) {
        this.sms = sms;
    }

    public Boolean getPlan() {
        return plan;
    }

    public void setPlan(Boolean plan) {
        this.plan = plan;
    }

    public Integer getSendNumber() {
        return sendNumber;
    }

    public void setSendNumber(Integer sendNumber) {
        this.sendNumber = sendNumber;
    }
}
